<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/TGB.Master" CodeBehind="FrmEnteCalificador.aspx.vb" Inherits="TGB.FrmCalificaciones" 
    title="Administracion de Entes Calificadores" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <div id="DIV1" style="width: 100%; height: 22px; text-align: left; background-color: #ccccff;" >
    
        <asp:Label ID="LblTitulo" runat="server" CssClass="titulo" Text="Administracion de Entes" Font-Underline="False" Height="18px" Width="211px"></asp:Label></div><hr /> 
    <div style="width: 100%; height: 133px; text-align: center; background-color: #efefef; vertical-align: middle;" id="DIV2">
        <br />
    <table class="tabla" style="width: 419px; height: 80px; text-align: center;" >
        <tr>
            <td align="right" style="width: 25%; height: 14px;">
                Provincia:</td>
            <td style="width: 25%; height: 14px;" align="left" ><asp:DropDownList ID="cboProvincia" runat="server" CssClass="campotxt" Width="113px" AutoPostBack="True" AppendDataBoundItems="True">
                <asp:ListItem Value="-1">Ninguno...</asp:ListItem>
            </asp:DropDownList></td>
            <td align="right" style="width: 25%; height: 14px;">
                Localidad:</td>
            <td style="height: 14px; width: 25%;" align="left" ><asp:DropDownList ID="cboLocalidad" runat="server" CssClass="campotxt" Width="113px" AppendDataBoundItems="True">
                <asp:ListItem Value="-1">Ninguno...</asp:ListItem>
            </asp:DropDownList></td>
        </tr>
        <tr>
            <td align="right" style="width: 25%; height: 14px;">
                Razon Social:</td>
            <td style="width: 25%; height: 14px;" align="left" >
                <asp:TextBox ID="TxtRazonSocial" runat="server" CssClass="campotxt" MaxLength="200"></asp:TextBox></td>
            <td align="right" style="width: 25%; height: 14px;">
                Estado:</td>
            <td style="height: 14px; width: 25%;" align="left" >
                <asp:DropDownList ID="CboEstado" runat="server" CssClass="campotxt" Width="113px">
                    <asp:ListItem Value="Ninguno">Ninguno...</asp:ListItem>
                <asp:ListItem Selected="True">Habilitado</asp:ListItem>
                <asp:ListItem>Deshabilitado</asp:ListItem>
            </asp:DropDownList></td>
        </tr>
        <tr>
            <td align="right" style="width: 25%; height: 20px;">
                Direccion:</td>
            <td style="width: 25%; height: 20px;" align="left" >
                <asp:TextBox ID="TxtDireccion" runat="server" CssClass="campotxt" MaxLength="200"></asp:TextBox></td>
            <td align="right" style="width: 25%; height: 20px;">
                Mail:</td>
            <td style="width: 25%; height: 20px;" align="left" >
                <asp:TextBox ID="TxtMail" runat="server" CssClass="campotxt" MaxLength="200"></asp:TextBox></td>
        </tr>
        <tr>
            <td align="right" style="width: 25%">
                Telefono:</td>
            <td style="width: 25%" align="left" >
                <asp:TextBox ID="TxtTelefono" runat="server" CssClass="campotxt" MaxLength="50"></asp:TextBox></td>
            <td align="right" style="width: 25%">
                </td>
            <td style="width: 25%" align="left" ></td>
        </tr>
        <tr>
            <td align="right" colspan="4" style="height: 20px">
                <asp:HiddenField ID="HFCodigoEnte" runat="server" />
                <asp:LinkButton ID="LnkGuardar" runat="server" CssClass="BotonLink">Guardar</asp:LinkButton> /
                <asp:LinkButton ID="LnkEliminar" runat="server" CssClass="BotonLink">Eliminar</asp:LinkButton> /
                <asp:LinkButton ID="LnkBuscar" runat="server" CssClass="BotonLink">Buscar</asp:LinkButton> /
                <asp:LinkButton ID="LnkCancelar" runat="server" CssClass="BotonLink">Cancelar</asp:LinkButton>
            
            </td>
        </tr>
        
    </table>
        <asp:Label ID="LblError" runat="server" Font-Bold="True" ForeColor="#C00000" CssClass="LabelError"></asp:Label><br />
        </div>
    <hr />
    <div style="width: 100%; height: 100%; background-color: #efefef">
        <asp:GridView ID="GridEnte" runat="server" AllowPaging="True" AllowSorting="True"
            AutoGenerateColumns="False" BackColor="LightGoldenrodYellow" BorderColor="Tan"
            BorderWidth="1px" CellPadding="2" CssClass="tabla"
            ForeColor="Black" GridLines="None" PageSize="25" Style="width: 100%" Width="812px">
            <PagerSettings PageButtonCount="25" />
            <FooterStyle BackColor="Tan" />
            <Columns>
                <asp:TemplateField>
                    <ItemTemplate>
                        &nbsp;<asp:LinkButton ID="LnkSeleccionar" runat="server" CommandName="Select" >Ver</asp:LinkButton>
                        <asp:HiddenField ID="HFId" runat="server" Value='<%# Bind("codigoente") %>' />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Razon Social">
                    <ItemTemplate>
                        <asp:Label ID="LblRazonSocial" runat="server" Text='<%# Bind("razonsocial") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Direccion">
                    <ItemTemplate>
                        <asp:Label ID="LblDireccion" runat="server" Text='<%# Bind("direccion") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Telefono">
                    <ItemTemplate>
                        <asp:Label ID="LblTelefono" runat="server" Text='<%# Bind("telcel") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Email">
                    <ItemTemplate>
                        <asp:Label ID="LblEmail" runat="server" Text='<%# Bind("mail") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Estado">
                    <ItemTemplate>
                        <asp:Label ID="LblEstado" runat="server" Text='<%# Bind("estado") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Localidad">
                    <ItemTemplate>
                        <asp:HiddenField ID="HFLocalidad" runat="server" Value='<%# Bind("Codigolocalidad") %>' />
                        <asp:Label ID="LblLocalidad" runat="server" Text='<%# Bind("Descripcionlocalidad") %>'></asp:Label>
                        

                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
            <PagerStyle BackColor="Tan" ForeColor="DarkSlateBlue" HorizontalAlign="Center" />
            <HeaderStyle BackColor="Tan" Font-Bold="True" />
            <AlternatingRowStyle BackColor="PaleGoldenrod" />
        </asp:GridView>
    </div>

</asp:Content>
